export const MainRoute = [
    {
        path:'/main',
        name:'main',
        alias:'/',
        component:() => import('./MainPage.vue'),
        children:[
            {
                path:'/main',
                redirect:'/home'
            },
            {
                path:'home',
                component:() => import('./HomePage.vue')
            },
            {
                path:'search',
                component:() => import('./SearchPage.vue')
            },
            {
                path:'cart',
                component:() => import('./CartPage.vue')
            },
            {
                path:'about',
                component:() => import('./AboutPage.vue')
            },
        ]
    }
]